import 'package:flutter/material.dart';
import 'package:flutter_basics/page/tabbar_page.dart';
import 'package:flutter_basics/pages/ListViewDemo2.dart';

void main() {
  runApp(MaterialApp(
    // 组件
    // home: NavigatorDemo(),
    // 路由跳转配置
    routes: {
      '/': (context) => const TabbarPage(),
      '/detail': (context) => const ListViewDemo2(),
    },
  ));
}
